home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hollywood Studio Amiga
/
Hollywood Studio - Amiga.iso
/
gfxmanager
/
install
< prev
next >
Wrap
Text File
|
1996-02-26
|
4KB
|
136 lines
; $VER: Install.script V1.1 (11.8.95)
; © 1995 by Thomas Treder / Nightshift.
; This is the Amiga-Installer Script for GFXManager
;***** Set Language
(set selectlang (askchoice
(prompt "")
(help @askchoice-help)
(choices "Deutsche Installation" "English Installation")
(default 0)
)
)
(if (= selectlang 0)
(set @language "deutsch")
(set @language "english")
)
(if (= @language "deutsch")
(
(set MSG_wrong_OS (cat "Sie benötigen mindestens OS V2.04 \nzum starten des GFXManager !\n\n"
"GFXManager wird auf Ihrem System nicht laufen !"))
(set MSG_Installing "Installiere jetzt GFXManager !")
(set MSG_SelectPath "Wählen Sie bitte das Zielverzeichnis für GFXManager \n\(Das Verzeichnis `GFXManager` wird autom. erzeugt !\)")
(set MSG_EditStartup "Es werden einige benötigte Anweisungen in die Datei \"s:user-startup\" eingetragen.")
(set MSG_InstallLibs "Installiere IXEmul.Library ...")
(set MSG_InstallFonts "Installiere Zeichensätze ...")
(set MSG_ChoiceTitle "Verfügt Ihr Rechner über einen Fließkommaprozessor ?")
(set MSG_Choice "Keine FPU")
(set MSG_DeleteOld "Lösche alte Dateien ...")
)
(
(set MSG_wrong_OS (cat "You need at least OS V2.04 to run GFXManager !\n\n"
"GFXManager will not run with your system configuration !"))
(set MSG_Installing "Installing GFXManager now !")
(set MSG_SelectPath "Select path to install GFXManager to \nThe drawer `GFXManager` will be autom. created !")
(set MSG_EditStartup "Some required commands will be added to your \"s:user-startup\" file.")
(set MSG_InstallLibs "Installing IXEmul.Library ...")
(set MSG_InstallFonts "Installing Fonts ...")
(set MSG_ChoiceTitle "Is your Computer equiped with a FloatingPointUnit ?")
(set MSG_Choice "NO FPU")
(set MSG_DeleteOld "Deleting old files ...")
)
)
(set OS_VER (/ (getversion) 65536) )
(if(< OS_VER 37)
(abort MSG_wrong_OS)
)
;***** Copy Files
(complete 0)
(copyfiles
(prompt MSG_Installing)
(help @copyfiles-help)
(source "")
(set pmcomdir
(askdir
(prompt MSG_SelectPath)
(help @askdir-help)
(newpath)
(default "SYS:")
)
)
(if (patmatch "#?GFXManager" pmcomdir)
(
(set Destination pmcomdir)
)
(
(set Destination (tackon pmcomdir "GFXManager"))
)
)
(dest Destination)
(pattern "~(Font#?|Libs#?|Install#?)")
(optional ("nofail") ("askuser"))
(infos)
(confirm)
)
;***** Install Fonts
(complete 65)
(copyfiles
(prompt MSG_InstallFonts)
(help @copyfiles-help)
(source "Fonts")
(dest "Fonts:")
(all)
(optional ("nofail") ("askuser"))
(confirm)
)
(set @default-dest (expandpath pmcomdir))
;***** Copy Library
(complete 70)
(copylib
(prompt MSG_InstallLibs)
(help @copylib-help)
(source "Libs/ixemul.library")
(dest "Libs:")
(optional ("nofail") ("askuser"))
)
;***** Edit Startup-Sequence
(complete 90)
(startup "GFXManager"
(prompt MSG_EditStartup)
(help @startup-help)
(command "if exists \"" Destination "\"\n")
(command " assign >NIL: GFXManager: \"" Destination "\"\n")
(command " assign >NIL: GMData: GFXManager:GMData\n")
(command " if exists GFXManager:bin\n")
(command " path >NIL: GFXManager:bin add\n")
(command " assign >NIL: C: GFXManager:bin add\n")
(command " endif\n")
(command "endif")
)
(makeassign "GFXManager" Destination (safe))
(makeassign "GMData" "GFXManager:GMData" (safe))
(run "assign >NIL: C: GFXManager:bin add")
(run "path >NIL: GFXManager:bin add")
;***** Finished
(complete 100)